package com.xuanrui.wxCommons.business;



import com.xuanrui.commons.GetCode;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xy
 * @Date 2020/5/28 10:08
 * @description wx支付所要的参数
 */

@Data
public class WxPayData implements Serializable {

    private String body;
    private String outTradeNo;
    private Integer totalFee;
    private String wxOpenId;
    private String ip;
    private String notifyUrl;

    public String getOutTradeNo() {
        outTradeNo = GetCode.getNewCreateOrderByOld(outTradeNo);
        return outTradeNo;
    }
}
